package com.doeis.core.db.transaction;

import java.sql.Connection;

public class Transaction {
	private int level = 2;
	private int propagation = 0;
	private String datasource;
	private Connection conn;
	private String method;

	public int getLevel() {
		return this.level;
	}

	public void setLevel(int level) {
		this.level = level;
	}

	public int getPropagation() {
		return this.propagation;
	}

	public void setPropagation(int propagation) {
		this.propagation = propagation;
	}

	public String getDatasource() {
		return this.datasource;
	}

	public void setDatasource(String datasource) {
		this.datasource = datasource;
	}

	public Connection getConn() {
		return this.conn;
	}

	public void setConn(Connection conn) {
		this.conn = conn;
	}

	public String getMethod() {
		return this.method;
	}

	public void setMethod(String method) {
		this.method = method;
	}
}